import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import storeUtil from './utils/storeUtil'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
window.eventBus = new Vue();//注册全局事件对象
Vue.config.productionTip = false
Vue.use(ElementUI)
storeUtil.setStore(store)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
